package com.cas.controller;

import com.cas.constant.OperationConstants;
import com.cas.dto.rsp.BlogMessageRspDTO;
import com.cas.service.BlogManagementService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @description:
 * @author: xianglong
 * @create: 2025-02-25 10:29
 **/
@RestController(OperationConstants.MENU_BASE_URL)
public class MenuController {

    @Resource
    private BlogManagementService managementService;


    @PostMapping("create")
    public BlogMessageRspDTO message() {
        managementService.create();
        return new BlogMessageRspDTO("评论完毕");
    }

}
